home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
ftp.cs.arizona.edu
/
ftp.cs.arizona.edu.tar
/
ftp.cs.arizona.edu
/
icon
/
newsgrp
/
group98a.txt
/
000126_icon-group-sender _Fri Mar 13 08:07:55 1998.msg
< prev
next >
Wrap
Internet Message Format
|
2000-09-20
|
3KB
Return-Path: <icon-group-sender>
Received: from kingfisher.CS.Arizona.EDU (kingfisher.CS.Arizona.EDU [192.12.69.239])
by baskerville.CS.Arizona.EDU (8.8.7/8.8.7) with SMTP id IAA23742
for <icon-group-addresses@baskerville.CS.Arizona.EDU>; Fri, 13 Mar 1998 08:07:55 -0700 (MST)
Received: by kingfisher.CS.Arizona.EDU (5.65v4.0/1.1.8.2/08Nov94-0446PM)
id AA15832; Fri, 13 Mar 1998 08:07:54 -0700
From: gep2@computek.net
Date: Thu, 12 Mar 1998 21:28:03 -0600
Message-Id: <199803130328.VAA31635@axp.cmpu.net>
Mime-Version: 1.0
Content-Type: text/plain
Content-Transfer-Encoding: 7bit
Subject: Re: Translation into C
To: icon-group@optima.CS.Arizona.EDU
X-Mailer: SPRY Mail Version: 04.00.06.17
Errors-To: icon-group-errors@optima.CS.Arizona.EDU
Status: RO
Content-Length: 1803
>> I'd like to second the notion/motion that database extensions
> would be far more useful than C or C++ code generation. Hooks
> into Oracle, Sybase, Access, Foxpro etc,... would allow the
> best features of the language to be applied to where the real
> data is. I have kloojes setup where foxpro exports flat files
> that icon churns and the output is imported into other databases.
> It would surely be nicer to have one program do it all instead
> of three (export - munge - import).
> What language extensions do you have in mind?
For the past year or so I've been using the Icon support for dynamic linking
of C functions (under sunos) to interface to the msql database. Wrapping the
C API that is supplied with msql in a some higher-level icon modules makes
this setup quite convenient to use. I suppose embedding database support
into the language might make some things easier to do but this setup is quite
usable. The Perl community do something similar and it seems to be working
for them as well. (I'm not talking about built-in dbm-file support, which
Unicon has as well).
I'd like to see both multi-record functions (rather like database systems do so
well) as well as generators which would return consecutive/random/etc records
from the file, like Icon's lists, strings, etc.
This could actually be used to extend tables as well, where (for example) one
could perhaps have a generator which would return the elements of a table whose
keys matched some kind of a pattern.
> btw, does Windows icon support dynamic calling of functions in DLL's?
Dunno, there has been talk about adding DLL calls to S*BOL but as far as I'm
aware, it's only JUST talk.
Gordon Peterson
http://www.computek.net/public/gep2/
Support the Anti-SPAM Amendment! Join at http://www.cauce.org/